export default [
  {
    path: '/',
    name: 'index',
    meta: {
      title: '首页'
    },
    component: () => import('../view/index')
  },
  {
    path: '/vue-qr',
    name: 'vue-qr',
    meta: {
      title: '二维码'
    },
    component: () => import('../view/vue-qr')
  },
  {
    path: '/select',
    name: 'select',
    meta: {
      title: '省市区选中'
    },
    component: () => import('../view/select')
  },
  {
    path: '/cats',
    name: 'cats',
    meta: {
      title: '猫列表'
    },
    component: () => import('../view/cats')
  },
  {
    path: '/table-print',
    name: 'table-print',
    meta: {
      title: '打印表格'
    },
    component: () => import('../view/table-print')
  },
  {
    path: '/parent',
    name: 'parent',
    meta: {
      title: '父组件'
    },
    component: () => import('../view/parent')
  },
  {
    path: '/serialization',
    name: 'serialization',
    meta: {
      title: '序列化'
    },
    component: () => import('../view/serialization')
  },
  {
    path: '/form',
    name: 'form',
    meta: {
      title: '表单'
    },
    component: () => import('../view/form')
  },
  {
    path: '/pregnancy',
    name: 'pregnancy',
    meta: {
      title: '孕期计算'
    },
    component: () => import('../view/pregnancy')
  },
  {
    path: '/image',
    name: 'image',
    meta: {
      title: '图片压缩'
    },
    component: () => import('../view/image')
  },
  {
    path: '*',
    redirect: '/'
  }
]